<template>
  <div>
    <p>评价内容：<input type="text"></p>
    <van-button @click="add">提交</van-button>
  </div>
</template>

<script>
export default {
  name: "comm",
  data() {
    return {
      id: '',
    }
  },

  methods: {
    add() {
      this.axios.post('goods').then(res => {
        if(res.data.code==10040){
          alert(res.data.mes)
        }
      })
    }
  },

  mounted() {

  }
}
</script>

<style scoped>

</style>
